﻿@using zichan.Entity
@model List<ConsumateInfo>
@{
    ViewBag.Title = "part_Details";
}
@if (Model.Count() != 0)
{
    <div class="col-md-6">
        <div class="col-md-12 form-section">
            <h3>更多信息</h3>
        </div>
        @using (Html.BeginForm("part_Details", "RepertoryManage"))
        {
            foreach (ConsumateInfo c in Model)
            {
                <div class="row" style="margin-top:5px;">
                    <div class="form-group">
                        <label class="control-label col-md-3">@c.FieldName:</label>
                        <div class="col-md-9">
                            <input name="FieldContent" type="text" value="@c.FieldContent" class="form-control">
                            <input name="FieldId" type="hidden" value="@c.FieldId" class="form-control" />
                            <input name="FieldName" type="hidden" value="@c.FieldName" class="form-control" />
                            <input name="AssetId" type="hidden" value="@c.AssetId" class="form-control" />
                            <input name="Id" type="hidden" value="@c.Id" class="form-control" />
                        </div>
                    </div>
                </div>
            }

            <div class="row" style="margin-top:5px;">
                <div class="col-md-offset-3 col-md-9">
                    <button type="submit" class="btn green">提交</button>
                    <a href="/RepertoryManage/Index" class="btn default">返回</a>
                </div>
            </div>
        }


    </div>}
<!--/span-->
